package com.ss.android.account.activity.mobile;

import android.text.TextUtils;
import android.view.View;

final class c implements View.OnClickListener {
    private final a a;

    c(a arg1) {
        this.a = arg1;

    }

    public final void onClick(View arg4) {
        if(this.a.d == null) {
            this.a.dismiss();
        }
        else if(TextUtils.isEmpty(this.a.a.getText().toString())) {
            this.a.c.setVisibility(View.GONE);
            this.a.b.setText(com.ss.android.article.browser.R.string.jo);
            this.a.b.setVisibility(View.VISIBLE);
        }
        else {
            com.ss.android.account.activity.mobile.a.a$a v0 = this.a.d;
            String v1 = this.a.a.getText().toString();
            if(v0.a != null) {
                v0.a.a(v1);
            }
        }
    }
}

